﻿@{
    ViewBag.Title = "查询";
}
<h2>@ViewBag.Title</h2>

@using (Html.BeginForm("Details", "Biont", FormMethod.Get))
{
    <fieldset>
        <legend>查看生物信息</legend><span>请输入编号：</span>
        <input name="id" title="请输入ID:" />
        <input type="submit" value="查询" />
    </fieldset>
}

@using (Html.BeginForm("ComplexQuery", "Biont", FormMethod.Get))
{
    <fieldset>
        <legend>模糊查询生物信息</legend><span>请输入不完整编号：</span>
        <input name="id" title="请输入ID:" />
        生日范围:
        <input name="bDate" title="开始时间" size="10" value="@DateTime.Now.AddMonths(-6).ToShortDateString()"/>-
        <input name="eDate" title="结束日期" size="10" value="@DateTime.Now.ToShortDateString()" />
        <input type="submit" value="查询" />
    </fieldset>
}

@using (Html.BeginForm("CheckBlood", "Biont", FormMethod.Get))
{
    <fieldset>
        <legend>查看血缘关系:</legend><span>请输入编号：</span>
        <input name="bi1" title="请输入第1头ID" />
        <input name="bi2" title="请输入第2头ID" />
        <input type="submit" value="查询" />
    </fieldset>
}

@using (Html.BeginForm("Query", "MedicalRecord", FormMethod.Get))
{
    <fieldset>
        <legend>查看疾病:</legend>
        <span>请输入疾病代号：</span>
        <input name="Ill" title="疾病代号" size="10"/>
        时间范围:
        <input name="bDate" title="开始时间" size="10" value="@DateTime.Now.AddMonths(-6).ToShortDateString()"/>-
        <input name="eDate" title="结束日期" size="10" value="@DateTime.Now.ToShortDateString()" />
        <input type="submit" value="查询" />
    </fieldset>
}